libapt-pkg-perl software package provides Perl interface to libapt-pkg, you can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libapt-pkg-perl
libapt-pkg-perl is installed in your system.
Make ensure the libapt-pkg-perl package were installed using the commands given below,
$ sudo dpkg-query -l | grep libapt-pkg-perl *
You will get with libapt-pkg-perl package name, version, architecture and description in a table
| Distro | Ubuntu 17 04 zesty zapus |
| Section | Perl |
| Package | libapt-pkg-perl |
| Version | 0.1.30 |
| Description | Perl interface to libapt-pkg |
| Sub Section | Perl |